package world.ztomorrow.novel;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import world.ztomorrow.common.config.DefaultFeignConfig;

@EnableFeignClients(basePackages = "world.ztomorrow.novel.client", defaultConfiguration = DefaultFeignConfig.class)
@SpringBootApplication
@MapperScan("world.ztomorrow.novel.dao.mapper")
public class NovelApplication {

    public static void main(String[] args) {
        SpringApplication.run(NovelApplication.class, args);
    }

}
